Skip to content

Chore: Push to master for release 1.3.0#387

Merged
JosuaCarl merged 80 commits intomasterfrom
dev
May 6, 2026
Merged

Chore: Push to master for release 1.3.0#387
JosuaCarl merged 80 commits intomasterfrom
dev

Conversation

@JosuaCarl
Copy link
Copy Markdown
Collaborator

Merge dev -> master for Release 1.3.0

pinin4fjords and others added 30 commits March 25, 2026 11:58
Nextflow's v2 syntax parser requires ConfigScope implementations to
have a no-arg constructor so it can reflectively instantiate them at
parse time to discover and validate config options. Without this,
the co2footprint scope and its sub-scopes are not registered, causing
"Unrecognized config option" warnings for all co2footprint.* settings.

This adds no-arg constructors to CO2FootprintConfig and all
BaseFileConfig subclasses (TraceFileConfig, SummaryFileConfig,
ReportFileConfig, DataFileConfig), following the same pattern used
by nf-schema's ValidationConfig.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Jonathan Manning <jonathan.manning@seqera.io>
Per Ben's review, only the top-level scope needs @ScopeName, a no-arg
constructor, and extension point registration. Nested scopes are
discovered via fields on the parent class.

- Register CO2FootprintConfig in build.gradle extensionPoints
- Remove @ScopeName from nested scope classes (Trace/Summary/Report/DataFileConfig)
- Remove no-arg constructors from nested scopes and BaseFileConfig
- Remove unnecessary types=[...] from @ConfigOption annotations
  (kept types=[Number, BigDecimal] on ci since it constructs CiRecord from a number)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Jonathan Manning <jonathan.manning@seqera.io>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
…separation)

Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
…c values in report

Documentation: Added changed to CHANGELOG.md
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Refactor: Changed default of `emissionMetricsOnly` to `true`
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Test: Adjusted tests and file checks
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Refactor: Renamed emission metrics to camel case

Test: Adjusted tests to new naming

Chore: Intermediate save
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Refactor: Renamed emission metrics to camel case

Test: Adjusted tests to new naming
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Co-authored-by: Nadja Volkmann <96422527+nadnein@users.noreply.github.com>
Co-authored-by: Nadja Volkmann <96422527+nadnein@users.noreply.github.com>
Fix: Improve report quality for extension / CLI runs
# Conflicts:
#	src/testResources/cli/data_test.yaml
#	src/testResources/cli/file_checks.json
#	src/testResources/cli/report_test.html
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Refactor: Move to provenance file and update related tests
…org/bioschemas.org classes annotations to enabled machine processing

Test: Adjusted file checks
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Documentation: Included changed into CHANGELOG.md
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
…t plugin version

Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
JosuaCarl and others added 16 commits May 4, 2026 12:45
# Conflicts:
#	CHANGELOG.md
#	src/testResources/cli/file_checks.json
#	src/testResources/cli/report_test.html
#	src/testResources/observer/file_checks.json
#	src/testResources/report/test_payload.json
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: nadnein <nadjav.18@gmail.com>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: nadnein <nadjav.18@gmail.com>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: nadnein <nadjav.18@gmail.com>
Signed-off-by: nadnein <nadjav.18@gmail.com>
Fix: zero division crashes when task realtime is 0
Fix floating point error and refactor Bytes for value types
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Add --delimiter argument to CLI post-run docs
@JosuaCarl JosuaCarl requested a review from nadnein May 4, 2026 14:37
@JosuaCarl JosuaCarl self-assigned this May 4, 2026
@JosuaCarl JosuaCarl added the 🛰️ continuous integration Everything that is related to code checking & automatic processes to boost devolopment label May 4, 2026
@JosuaCarl JosuaCarl marked this pull request as ready for review May 4, 2026 14:38
JosuaCarl and others added 8 commits May 4, 2026 17:07
…or-2

Fix/config scope noarg constructor 2
Resolves conflicts in:
- src/main/nextflow/co2footprint/Config/BaseFileConfig.groovy
  (drop @ConfigOption imports; the annotations live on each subclass now)
- src/main/nextflow/co2footprint/Logging/CustomCaptureAppender.groovy
  (take dev's 26.04.0 LogObserver adaptation)
- src/testResources/{cli,observer,report}/* (take dev's calculator outputs)
- Mark file/enabled/overwrite/maxTasks final on the four nested file scopes
  and final on name/ending/defaultEnabled in BaseFileConfig (each is
  assigned exactly once in a constructor body)
- Normalise whitespace: drop trailing spaces and double-space after `=`
- Add CHANGELOG entry under New > Bug Fixes

Signed-off-by: Jonathan Manning <jonathan.manning@seqera.io>
…tructor

Fix: Add no-arg constructors for v2 config parser scope registration
… file name

Test: Adapted file tests

Documentation: Added changes to CHANGELOG.md

Documentation: Moved fix into this release
Signed-off-by: Josua Carl <josua.carl@uni-tuebingen.de>
Fix: CI plot threw error due to changed variable name -> Inserted new…
@JosuaCarl JosuaCarl merged commit 58ea919 into master May 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛰️ continuous integration Everything that is related to code checking & automatic processes to boost devolopment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants